package com.think.teaching.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;

/**
 * 实训室
 * @author 于留俊
 * 2024-07-10
 */
@TableName("vrml_trainingroom")
public class VrmlTroom extends BaseModel<VrmlTroom>{

	/**
	 * 主键
	 */
	@TableId(value = "id",type = IdType.AUTO)
	private Integer id;

	/**
	 * 名称（实训室房间号）
	 */
	private String name;

	/**
	 * 教室位置
	 */
	private String position;

	/**
	 * 描述
	 */
	private String des;

	/**
	 * 状态
	 *
	 */
	private String type;
	/**
	 * 创建人
	 *
	 */
/*	@TableField("created_by")
	private Integer createdBy;


	*//**
	 * 创建时间
	 *
	 *//*
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField("created_time")
	private Timestamp createdTime;





	*//**
	 * 更新人
	 *
	 *//*
	@TableField("created_by")
	private Integer updatedBy;


	*//**
	 * 更新时间
	 *
	 *//*
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField("updated_time")
	private Timestamp updatedTime;*/

/*	private Integer delflag;
	private Integer state;*/


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getDes() {
		return des;
	}

	public void setDes(String des) {
		this.des = des;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

/*	public Integer getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(Integer createdBy) {
		this.createdBy = createdBy;
	}

	public Timestamp getCreateTime() {
		return createdTime;
	}

	public void setCreatedTime(Timestamp createdTime) {
		this.createdTime = createdTime;
	}

	public Integer getUpdatedBy() {
		return updatedBy;
	}

	public void setUpdatedBy(Integer updatedBy) {
		this.updatedBy = updatedBy;
	}

	public Timestamp getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(Timestamp updatedTime) {
		this.updatedTime = updatedTime;
	}

	public Integer getDelflag() {
		return delflag;
	}

	public void setDelflag(Integer delflag) {
		this.delflag = delflag;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}*/

	@Override
	public String toString() {
		return "VrmlTroom{" +
				"id=" + id +
				", name='" + name + '\'' +
				", position='" + position + '\'' +
				", des='" + des + '\'' +
				", type='" + type + '\'' +
				", createdBy='" + createdBy + '\'' +
				", createdTime=" + createdTime +
				", updatedBy='" + updatedBy + '\'' +
				", updatedTime=" + updatedTime +
				", delflag=" + delflag +
				", state=" + state +
				'}';
	}
}